<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增服务商税点信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-point-add">
            <input type="hidden" name="agentNum" th:value="${agentNum}">
            <fieldset>
                <legend>终端类型：传统POS</legend>

                <div class="form-group">
                    <label class="col-sm-4 control-label">POS税点：</label>
                    <div class="col-sm-7" style="width: 200px">
                        <select name="taxPoint" class="form-control m-b">
                            <option value="0.00">0%</option>
                            <option value="0.01">1%</option>
                            <option value="0.02">2%</option>
                            <option value="0.03">3%</option>
                            <option value="0.04">4%</option>
                            <option value="0.05">5%</option>
                            <option value="0.06">6%</option>
                            <option value="0.07">7%</option>
                            <option value="0.08">8%</option>
                            <option value="0.09">9%</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">返现税点：</label>
                    <div class="col-sm-7" style="width: 200px">
                        <select name="taxPointT" class="form-control m-b">
                            <option value="0.00">0%</option>
                            <option value="0.01">1%</option>
                            <option value="0.02">2%</option>
                            <option value="0.03">3%</option>
                            <option value="0.04">4%</option>
                            <option value="0.05">5%</option>
                            <option value="0.06">6%</option>
                            <option value="0.07">7%</option>
                            <option value="0.08">8%</option>
                            <option value="0.09">9%</option>
                        </select>
                    </div>
                </div>
            </fieldset>
            <fieldset>
                <legend>终端类型：电签POS</legend>

                <div class="form-group">
                    <label class="col-sm-4 control-label">POS税点：</label>
                    <div class="col-sm-7" style="width: 200px">
                        <select name="DQtaxPoint" class="form-control m-b">
                            <option value="0.00">0%</option>
                            <option value="0.01">1%</option>
                            <option value="0.02">2%</option>
                            <option value="0.03">3%</option>
                            <option value="0.04">4%</option>
                            <option value="0.05">5%</option>
                            <option value="0.06">6%</option>
                            <option value="0.07">7%</option>
                            <option value="0.08">8%</option>
                            <option value="0.09">9%</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">返现税点：</label>
                    <div class="col-sm-7" style="width: 200px">
                        <select name="DQtaxPointT" class="form-control m-b">
                            <option value="0.00">0%</option>
                            <option value="0.01">1%</option>
                            <option value="0.02">2%</option>
                            <option value="0.03">3%</option>
                            <option value="0.04">4%</option>
                            <option value="0.05">5%</option>
                            <option value="0.06">6%</option>
                            <option value="0.07">7%</option>
                            <option value="0.08">8%</option>
                            <option value="0.09">9%</option>
                        </select>
                    </div>
                </div>
            </fieldset>

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "agentInfo/point"
        $("#form-point-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-point-add').serialize());
            }
        }
    </script>
</body>
</html>